/* eslint-disable */
export function clearTableFixed() {
  const interval = setInterval(() => {
    const fixedList = document.getElementsByClassName('el-table__fixed-body-wrapper')
    const tableList = document.getElementsByClassName('el-table__body-wrapper')
    if (fixedList.length) {
			clearInterval(interval)
			for(let i = 0; i < fixedList.length; i++) {
				fixedList[i].addEventListener('scroll', () => {
					const top = fixedList[i].scrollTop
					tableList[i].scrollTop = top
				})
			}
    }
  }, 1000)
}
